/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.x3.purchasing.operator;

import java.util.List;

/**
 *
 * @author kris
 */
public interface OperatorDAO {

    public void insert(Operator operator) throws Exception;

    public void update(Operator operator) throws Exception;

    public void delete(int id) throws Exception;

    public Operator getByAccount(int id) throws Exception;

    public Operator get(int id) throws Exception;

    public List<Operator> gets() throws Exception;

    public Operator getOperatorByOrder(int orderId) throws Exception;
}
